﻿using Furion;

using Microsoft.Extensions.DependencyInjection;

using ProjectA.Core;

namespace ProjectA.EntityFramework.Core
{
    public class Startup : AppStartup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddDatabaseAccessor(options =>
            {
                options.AddDbPool<ADbContext, ADbContextLocator>();
            }, "ProjectA.Database.Migrations");
        }
    }
}